package com.fh.model.system;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;

/**
 * 数据字典分类
 * 
 * @author yc
 *
 */
public class SystemDictionary {
	private Long id;
	private String sn;
	private String title;
    private  int isDel;

    public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }
	public String getJsonstring(){
		Map<String,Object> map = new HashMap<>();
		map.put("id", id);
		map.put("sn", sn);
		map.put("title", title);
        map.put("isDel",isDel);
		return JSON.toJSONString(map);
	}
}
